﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class DocTemplateDetail
    {
        /// <summary>
        /// 模板归属方，指定获取该归属方的模板。需检查授权如果未提供则表示查询该应用下的模板。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "ownerId", Required = Required.AllowNull)]
        public OpenId OwnerId { get; set; }

        /// <summary>
        /// 文档模板id。该模板必须属于该应用。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "docTemplateId", Required = Required.Always)]
        public string DocTemplateId { get; set; }
    }
}